Crate socketio_rs
source ·Structs
- A builder class for a
socket.io
socket. This handles setting up the client and configuring the callback, the namespace and metadata of the socket. If no namespace is specified, the default namespace/
is taken. Theconnect
method acts thebuild
method and returns a connectedClient
. - A packet which gets sent or received during in the
socket.io
protocol.
Enums
- Enumeration of all possible errors in the
socket.io
context. - An
Event
insocket.io
could either (Message
,Error
) or custom. - An enumeration of the different
Packet
types in thesocket.io
protocol. - A type which represents a
payload
in thesocket.io
context. The enum is used for both representing data that’s send and data that’s received. - Flavor of Engine.IO transport.